export interface User {
  id: number;
  username: string;
  email: string;
  is_active: boolean;
  created_at: string;
}

export interface KnowledgeBase {
  id: number;
  name: string;
  description: string;
  is_active: boolean;
  created_at: string;
  updated_at: string;
  user_id: number;
}

export interface McpService {
  id: number;
  name: string;
  description: string;
  server_url: string;
  is_active: boolean;
  created_at: string;
  updated_at: string;
  user_id: number;
}

export interface Conversation {
  id: number;
  knowledge_base_id: number;
  question: string;
  answer: string;
  created_at: string;
  user_id: number;
}

export interface LoginRequest {
  username: string;
  password: string;
}

export interface RegisterRequest {
  username: string;
  email: string;
  password: string;
}

export interface AuthResponse {
  access_token: string;
  token_type: string;
  user: User;
}

export interface ApiResponse<T> {
  data: T;
  message: string;
}